import static java.lang.Math.*;


/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ${USER}
 * Date: ${YEAR}-${MONTH}-${DAY}
 * Time: ${TIME}
 */
class WashMachine{
    public  String type;
    public  String brand;
    public  double weight;
    public  double length;
    public  double width;
    public  double height;
    public  static String color="red";
    public  static void washClothes(){
        System.out.println("洗衣服");
    }
    public  void dryClothes(){
        System.out.println("脱水功能");
    }
    public  void setTime(){
        System.out.println("定时功能");
        System.out.println("====================");
        WashMachine.washClothes();
        System.out.println(color);

    }
}
class PetDog{
    public String name;
    public String color;
    public void barks(){
        System.out.println(this.name+"~~~~~旺旺旺");
    }
    public void wag(){
        System.out.println(this.name+"摇尾巴~~~~~");
    }
}


class Student {
    public String name;
    public String gender;
    public int age;
    public double score;
    public  void DoClass(){};
    public  void DoHomework(){

    };
    public void Exam(){};
    public Student(){
        System.out.println("请回答，学生信息");
        System.out.println("=======================");
    }
    public  Student(String name,String gender,int age,double score){
        this.name=name;
        this.age=age;
        this.gender=gender;
        this.score=score;
        System.out.print(this.name);
        System.out.print(name);
        System.out.print(this.age);
        System.out.print(age);
        System.out.print(this.gender);
        System.out.print(gender);
        System.out.print(this.score);
        System.out.print(score);
        System.out.println();
    }
}
public class Main {
    public static void main(String[] args){
        WashMachine wash= new WashMachine();
        wash.dryClothes();
        wash.setTime();
//        public  void setTime(){
//            System.out.println("定时功能");
//            System.out.println("====================");
//            WashMachine.washClothes();//静态方法可以在非静态方法里调用
//            System.out.println(color);//静态变量可以在非静态方法里调用
//
//        }

        WashMachine.washClothes();
        WashMachine dead;
        //dead.washClothes();
        System.out.println();
        Student student=new Student();
        Student student1=new Student("jzj","男",18,97.2);
        double x = 30;
        double y = 40;
        double result =Math.sqrt(5);
    }
}